import { defineStore } from "pinia"

export const serverStore = defineStore('serverInfo', () => {

    const ip = "localhost";

    const server = "http://" + ip + ":8080"

    const serverUploadImg = server + "/common/upload"

    const ws = "ws://" + ip + ":8080/user"

    return {
        server,
        ws,
        serverUploadImg
    }
})